<%-- 
    Document   : kasian
    Created on : Dec 19, 2013, 9:32:55 PM
    Author     : Kojar
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%
    String username = null;
    String privilege = null;
    Cookie[] cookies = request.getCookies();
    if (cookies != null) {
        for (Cookie cookie : cookies) {
            if (cookie.getName().equals("user")) {
                username = cookie.getValue();
            }
            if (cookie.getName().equals("privilege")) {
                privilege = cookie.getValue();
            }
        }
    }
  
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/healby.css">
        <title>Healby</title>
    </head>
    <body>
        <div id="main">
            <div id="header">
                Ini Buat Header / Banner Mungkin ?
            </div>
            <div id="Navigasi">
                Buat Navigasi antar page    
            </div>
            <div id="indexLeftColumn">
                    <table>
                        <tr>
                        <td>
                        
                           hi, <%=username %>
                        
                        </td>
                        </tr>
                        <td>
                        
                            <form action="UserProfile" method="post">
                             <input type="submit" name="Profil" value="Profil">
                             </form>
                        
                        </td>
                        <tr>
                        <td>                        
                            <form action="UserPengukuran" method="post">
                             <input type="submit" name="Pengukuran" value="Pengukuran">
                             </form>
                        </td>
                        </tr>
                        <tr>
                        <td>
                            
                        <form action="LogoutServlet" method="post">
                             <input type="submit" name="Logout" value="Logout">
                             </form>
                        </td>   
                        </tr>
                    </table>                   
            </div>
            <div id="indexRightColumn">
                Artikel Mungkin ?
            </div>
            <div id="footer">
                Buat hak cipta :D
            </div>
        </div>
    </body>
</html>
